﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dominion.Core;
using Dominion.WPF.Services;
using Dominion.Core.Factories;

namespace Dominion.WPF
{
    public class UserContext
    {
        private UserContext() { }

        public static Game CurrentGame { get; private set; }

        public static Player CurrentPlayer { get; private set; }


        public static void InitGame(GameType gameType)
        {
            CurrentGame = new Game(2, gameType);
            
            CurrentPlayer = CurrentGame.Players.First();
            CurrentPlayer.Cards.DrawHand();
            CurrentPlayer.BeginTurn();
        }
    }
}
